package com.example.composetutorial

import androidx.compose.material3.Text
import androidx.compose.runtime.Composable

fun Greeting_1(name: String) {
    println(name)
}
@Composable
fun Factory(name: (String)->Unit) {
    Text(
        text = "Hello !",
    )
    //name.invoke("str")
    name.run {
        println("run")

    }
}
